package com.gzhryc.shared_device.cdcz.api.protocol;

import com.gzhryc.common.api.SecurityRequest;

import java.io.Serializable;

public class CDCZHttpUpgradeRequest extends SecurityRequest<CDCZHttpUpgradeRequest.Body> {

    private static final long serialVersionUID = 1L;

    public CDCZHttpUpgradeRequest() {
        this.body = new Body();
    }

    public static class Body implements Serializable {

        private static final long serialVersionUID = 1L;

        private String deviceSn;
        private Integer type;
        private String packagePath;
        private String packageCRC;

        public String getDeviceSn() {
            return deviceSn;
        }

        public void setDeviceSn(String deviceSn) {
            this.deviceSn = deviceSn;
        }

        public Integer getType() {
            return type;
        }

        public void setType(Integer type) {
            this.type = type;
        }

        public String getPackagePath() {
            return packagePath;
        }

        public void setPackagePath(String packagePath) {
            this.packagePath = packagePath;
        }

        public String getPackageCRC() {
            return packageCRC;
        }

        public void setPackageCRC(String packageCRC) {
            this.packageCRC = packageCRC;
        }
    }
}
